
import { assetManager, Component, director, _decorator } from 'cc';

const { ccclass, property } = _decorator;

@ccclass('boot')
export class boot extends Component {

    start() {
        assetManager.loadBundle("app-core", (err, bundle) => {
            assetManager.loadBundle("app-game", (err, bundle) => {
                assetManager.loadBundle('app-scene', (err, bundle) => {
                    director.loadScene("app-main")
                });
            });
        });
    }

}
